package com.ljx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @author LJX
 * @Description: TODO
 * @Date: 2022/12/29 15:37
 * @Version 1.0
 */
@Controller
public class HelloController {
	@RequestMapping("fail")
	@ResponseBody
	public String fail(){
		return "权限不足";
	}

	@RequestMapping("main")
	public String main(){
		return "main";
	}
}
